package com.su.czl.service;

import com.su.czl.entity.Dictionarys;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;

 public interface DictService {
    List<Dictionarys> selects();
    List<Dictionarys> selectDictsInRange(String dict_name);
    Integer addDict(String dict_name, String dict_type, String remark);
    Integer updataDict(Integer id, String dict_name, String dict_type, String remark);
    Integer deleteById(Integer id);
    Integer deleteDictionaries(List<Integer> ids);
    void exportDictsToExcel(List<Dictionarys> dictionarys, HttpServletResponse response) throws IOException;
}
